package com.pan.admin.common.constant.module;

/**
 *  统计百分比常量
 */
public enum StatisticEnumRateEnum {

    REGISTER("0"),
    FORM("1");

    private final String type;

    private StatisticEnumRateEnum(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public static StatisticEnumRateEnum get(String type) {
        return REGISTER.getType().equals(type) ? REGISTER : FORM.getType().equals(type) ? FORM : null;
    }
}
